package com.ruoyi.yyq.listener;

import com.ruoyi.yyq.domain.CarRepairReservation;

import org.springframework.amqp.rabbit.annotation.RabbitListener;
import org.springframework.stereotype.Component;

@Component
public class CarRepairReservationRabbitMQListener {
	@RabbitListener(queues = "CarRepairReservation_queue")
	public void carRepairReservationMessage(CarRepairReservation carRepairReservation) {
		// 根据用户的id 查询用户信息，并发送短信 业务
		System.out.println("接收到消息：" + carRepairReservation);
	}

}
